package edu.hwadee.entity;

/**
 * Companytask entity. @author MyEclipse Persistence Tools
 */

public class Companytask implements java.io.Serializable {

	// Fields

	private Integer companyTaskId;
	private Task task;
	private Company company;
	private Float number;
	private Float price;
	private Float paidFee;
	private Float managementFee;
	private String paymentWay;

	// Constructors

	/** default constructor */
	public Companytask() {
	}

	/** full constructor */
	public Companytask(Task task, Company company, Float number, Float price, Float paidFee, Float managementFee,
			String paymentWay) {
		this.task = task;
		this.company = company;
		this.number = number;
		this.price = price;
		this.paidFee = paidFee;
		this.managementFee = managementFee;
		this.paymentWay = paymentWay;
	}

	// Property accessors

	public Integer getCompanyTaskId() {
		return this.companyTaskId;
	}

	public void setCompanyTaskId(Integer companyTaskId) {
		this.companyTaskId = companyTaskId;
	}

	public Task getTask() {
		return this.task;
	}

	public void setTask(Task task) {
		this.task = task;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Float getNumber() {
		return this.number;
	}

	public void setNumber(Float number) {
		this.number = number;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Float getPaidFee() {
		return this.paidFee;
	}

	public void setPaidFee(Float paidFee) {
		this.paidFee = paidFee;
	}

	public Float getManagementFee() {
		return this.managementFee;
	}

	public void setManagementFee(Float managementFee) {
		this.managementFee = managementFee;
	}

	public String getPaymentWay() {
		return this.paymentWay;
	}

	public void setPaymentWay(String paymentWay) {
		this.paymentWay = paymentWay;
	}

}